﻿@inject IStringLocalizerAsync<PageListHeader> Localizer
<div class="row">
    <h3 class="col">@Name</h3>
    <div class="col">
        <AuthorizeView Policy="@SharedConstants.WRITERPOLICY">
            <Authorized>
                <a href="@Url" class="btn btn-sm btn-primary">
                    <span class="oi oi-plus"></span> @Localizer["Add"]
                </a>
                <ExportButton EntityPath="@Url" Request="@ExportRequest" CssClass="btn-sm" Disabled="@ExportDisabled" />
            </Authorized>
        </AuthorizeView>
    </div>
</div>
